package com.zhongan.usercenter.config;

import feign.Feign;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Scope;

/**
 * Hystrix自定义配置类
 *
 * @author za-shaojian
 * @create 2017-09-25 17:33
 **/
public class HystrixConfig {

    @Bean
    @Scope("prototype")
    public Feign.Builder feignBuilder(){
        return Feign.builder();
    }
}
